package cn.wolfcode.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wolfcode.common.annotation.Excel;
import cn.wolfcode.common.core.domain.BaseEntity;

/**
 * 拜访客户对象 bus_record
 * 
 * @author 2
 * @date 2023-11-05
 */
public class Record extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 回访客户 */
    @Excel(name = "回访客户")
    private String customerName;

    /** 回访方式 */
    @Excel(name = "回访方式")
    private String customerMod;

    /** 回访原因 */
    @Excel(name = "回访原因")
    private String customerCause;

    /** 回访结果 */
    @Excel(name = "回访结果")
    private String customerResult;

    /** 回访日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回访日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date backTime;

    /** 录入人 */
    @Excel(name = "录入人")
    private String inputUserId;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enterTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerMod(String customerMod) 
    {
        this.customerMod = customerMod;
    }

    public String getCustomerMod() 
    {
        return customerMod;
    }
    public void setCustomerCause(String customerCause) 
    {
        this.customerCause = customerCause;
    }

    public String getCustomerCause() 
    {
        return customerCause;
    }
    public void setCustomerResult(String customerResult) 
    {
        this.customerResult = customerResult;
    }

    public String getCustomerResult() 
    {
        return customerResult;
    }
    public void setBackTime(Date backTime) 
    {
        this.backTime = backTime;
    }

    public Date getBackTime() 
    {
        return backTime;
    }
    public void setInputUserId(String inputUserId) 
    {
        this.inputUserId = inputUserId;
    }

    public String getInputUserId() 
    {
        return inputUserId;
    }
    public void setEnterTime(Date enterTime) 
    {
        this.enterTime = enterTime;
    }

    public Date getEnterTime() 
    {
        return enterTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerName", getCustomerName())
            .append("customerMod", getCustomerMod())
            .append("customerCause", getCustomerCause())
            .append("customerResult", getCustomerResult())
            .append("backTime", getBackTime())
            .append("inputUserId", getInputUserId())
            .append("enterTime", getEnterTime())
            .toString();
    }
}
